package org.qiuqiu.utils;

import java.util.List;

/***
 * @project mybatisDemo_zkingbbsxiugai
 * @Title PaginationVO.java
 * @Package org.qiuqiu.utils
 * @author wangsongmao  email:wangsongmao@zkingsoft.com
 * @date  2015年5月9日 下午2:50:16
 */
public class PaginationVO {

	private int pageIndex = 0;// 获取当前页码
	private int pageSize = 10;// 获取当前页现在最大记录数
	private boolean isPage = true; // 是否分页 true 分页 false 不分页
	private String sortField; // 排序列
	private String sortOrder; // 排序方向
	private List<?> list; // 数据对象
	private int totalRecord; // 总记录数
	
	private String url; // YXF 链接地址
	
	public int getPageIndex() {
		return pageIndex;
	}

	public void setPageIndex(int pageIndex) {
		this.pageIndex = pageIndex;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public boolean isPage() {
		return isPage;
	}

	public void setPage(boolean isPage) {
		this.isPage = isPage;
	}

	public String getSortField() {
		return sortField;
	}

	public void setSortField(String sortField) {
		this.sortField = sortField;
	}

	public String getSortOrder() {
		return sortOrder;
	}

	public void setSortOrder(String sortOrder) {
		this.sortOrder = sortOrder;
	}

	public List<?> getList() {
		return list;
	}

	public void setList(List<?> list) {
		this.list = list;
	}

	public int getTotalRecord() {
		return totalRecord;
	}

	public void setTotalRecord(int totalRecord) {
		this.totalRecord = totalRecord;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}
}
